package fengxici.jframe4l;

import org.redisson.api.RedissonClient;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Hello world!
 */
public class App {
    public static void main(String[] args) {
        String basePath = App.class.getClass().getResource("/").getPath();
        ApplicationContext ctx = new ClassPathXmlApplicationContext(
                "application.xml");
        RedissonClient client = (RedissonClient)ctx.getBean("redissonClient");
        System.out.println("Hello World!");
    }
}
